package com.changgou.test;

import com.changgou.util.IdWorker;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.stereotype.Component;


public class test1 {
	public static void main(String[] args) {
		IdWorker idWorker=new IdWorker();
		long id = idWorker.nextId();
		System.out.println(id);

		//由于当前服务没有整合测试test，所以应该也不能在启动类中进行测试
	}
}
